Schematic allows you to map existing databases once you've setup your environment configurations.
The parameters are as follows:
- dir (optional*)
The directory we are running Schematic for
- environment
The environment is relevant to the environment you want to run the command on
- database
The database is relevant to the database you want to map
- format (optional*)
The format is the format you want to generate the schemas in
Simply run the following:
schematic migrations:mapping localhost database_name
* Not optional if no .schematic.format file is created!